package com.jdrx;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Bean;

import com.jdrx.filter.GwCorsFilter;

@EnableCaching
@SpringBootApplication(scanBasePackages = "com.jdrx")
public class JdrxBootApplication {
	public static void main(String[] args) {
		SpringApplication.run(JdrxBootApplication.class, args);
	}
	
	@Bean
    public GwCorsFilter gwCorsFilter() {
        return new GwCorsFilter();
    }
}